package com.xs.mvc.common;

/**
 * @Title:
 *         <P>
 * 		ResultWrapper.java
 *         </P>
 * @Package
 *          <P>
 * 			com.xs.mvc.common
 *          </P>
 * @Description:
 *               <P>
 * 				返回结果包装类
 *               </P>
 * @author renweiping
 * @date 2019年2月1日 上午11:18:16
 * @version 1.0
 */

public class ResultWrapper<T> {

	private String message;
	private String code;
	private T pageData;

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public T getPageData() {
		return pageData;
	}

	public void setPageData(T pageData) {
		this.pageData = pageData;
	}

	public ResultWrapper(String message) {
		super();
		this.message = message;
	}
	
	public ResultWrapper() {

	}
	

}
